package com.xw.lianshou.zhujie.entity;

import com.xw.lianshou.zhujie.aop.ExtTransactional;
import lombok.Data;

/**
 * @author xw
 * @date 2021/5/26 20:59
 */
@Data
public class UserEntity {
    private Integer userId;
    private String name;
    public UserEntity(){
        System.out.println("无参构造");
    }

    public UserEntity(Integer userId, String name){
        this.userId = userId;
        this.name = name;
    }

//    @Deprecated
//    @ExtTransactional(name = "xw")
    public String meite(Integer a){
        System.out.println("meite:"+a);
        return "meite66";
    }
}
